Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nordic: nRF54L: Add the nRF54L05 and nRF54L10 ICs #80980

Merged
merged 8 commits into from
Nov 21, 2024

Conversation

carlescufi
Copy link
Member

@carlescufi carlescufi commented Nov 6, 2024

These two new ICs are variants of the nRF54L15 with different memory
sizes:

- nRF54L05: 500KB RRAM, 96KB RAM
- nRF54L10: 1022KB RRAM, 192KB RAM
- nRF54L15: 1524KB RRAM, 256KB RAM

@carlescufi carlescufi force-pushed the 54l05-10 branch 3 times, most recently from 3d731c0 to 302759a Compare November 6, 2024 10:02
@carlescufi carlescufi changed the title nordic: nRF54L: Add the nRF54L05 and nRF54L15 ICs [WIP] nordic: nRF54L: Add the nRF54L05 and nRF54L15 ICs Nov 6, 2024
@carlescufi carlescufi changed the title [WIP] nordic: nRF54L: Add the nRF54L05 and nRF54L15 ICs nordic: nRF54L: Add the nRF54L05 and nRF54L15 ICs Nov 8, 2024
@carlescufi carlescufi marked this pull request as ready for review November 8, 2024 12:57
@zephyrbot zephyrbot added area: RISCV RISCV Architecture (32-bit & 64-bit) platform: nRF Nordic nRFx area: Kernel labels Nov 8, 2024
@cvinayak
Copy link
Contributor

Note there is runtime failures with this latest HAL both in the controller (for 54L15) and the UART driver

If any of these utilize nrfx_clock.c or nrfx_power.c driver the culprit may be changed CLOCK and POWER IRQ number for nRF54L05/L10/L15. It used to be IRQn==270 but now it is IRQn==261. nrfx_clock.c and nrfx_power.c enables IRQn==261 now, but in Zephyr dts 270 is still used, so this should be aligned

ok... i will try fix this...

carlescufi and others added 8 commits November 20, 2024 21:32
Update the HW models module to:
42737c8ec8485987c7c9b0262b136de623e1ded2

Including the following:
42737c8 TIMER: Support devices without TASK_SHUTDOWN nrfx3.9 MDK 8.68
5fe6873 54 UARTE: Add frametimeout functionality
dc086d7 UARTE: Add basic 54 support
b046745 UARTE: Support better not having UART functionality
1c5f58c README: Mention the nRF54L15 models cover the L10 and L05
597c7d0 TEMP: Also build hal replacement for 54 and define NRF_TEMP_NS/S
fb2ca83 Makefile: Let's build libraries (specially HAL) as pic
200a1e3 Makefiles: move some common options to common snippet

Signed-off-by: Alberto Escolar Piedras <[email protected]>
Update the HW models module to:
3cfca0192ff84da919e9bc7978bcc2239cd6a395

This includes 2 changes:
* 3cfca01 UART: Model more accurately TASKS_FLUSH behaviour
* 25cbd28: 54L15: Change CLOKPOWER IRQ line (MDK 8.68, nrfx 3.9.0)

    WARNING! This change breaks backwards compatibility with SW
    which expected this line to be 270 for 54L15 devices,
    and therefore with MDKs < 8.68 & nrfx < 3.9.0.
    This change requires updating to the MDK >=8.68 and nrfx >=3.9.0
    if building using the 54L15 models.
    52 and 53 models are not affected.

    Change the CLOCK_POWER interrupt line from 270 to 261.
    This has changed in the latest MDK (8.68) and the new
    value is used in the latest nrfx (3.9.0) drivers.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
TASK_SHUTDOWN was deprecated in newer SOCs and now removed
in MDK 8.68 (nrfx 3.9.0)

Signed-off-by: Alberto Escolar Piedras <[email protected]>
Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
There are many common options to all ICs of the 54L series. Consolidate
them in a single entry so that they do not need to be re-typed for each
SoC series member.

Signed-off-by: Carles Cufi <[email protected]>
These two new ICs are variants of the nRF54L15 with different memory
sizes:

- nRF54L05: 500KB RRAM, 96KB RAM
- nRF54L10: 1022KB RRAM, 192KB RAM
- nRF54L15: 1524KB RRAM, 256KB RAM

Signed-off-by: Carles Cufi <[email protected]>
Use the rather logical convention for the name that is applied to other
Nordic boards: <board>_common.dtsi for definitions that are common to
the board itself (LEDs, buttons, etc).

Signed-off-by: Carles Cufi <[email protected]>
The nRF54L05 and nRF54L10 are identical to the nRF54L15 except for their
memory sizes. Add support for emulating those ICs on the nRF54L15DK.
This commit only adds support for the main application core. Support for
the FLPR core may be added later.

Signed-off-by: Carles Cufi <[email protected]>
@zephyrbot zephyrbot removed the DNM This PR should not be merged (Do Not Merge) label Nov 20, 2024
@henrikbrixandersen henrikbrixandersen merged commit 2147577 into zephyrproject-rtos:main Nov 21, 2024
31 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.